﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WebServer.Models
{
    /// <summary>
    /// 邮吧实体类
    /// </summary>
    public class Bar
    {

        /// <summary>
        /// 编号
        /// </summary>
        public int ID
        {
            get;
            set;
        }

        /// <summary>
        /// 公司ID
        /// </summary>
        public int CompanyID { get; set; }
        /// <summary>
        /// 用户ID
        /// </summary>
        public int UserID
        {
            get;
            set;
        }
        /// <summary>
        /// 内容
        /// </summary>
        public string Text
        {
            get;
            set;
        }

        /// <summary>
        /// 前缀
        /// </summary>
        public string Prefix { get; set; }
        /// <summary>
        /// 接口来源
        /// </summary>
        public int Origin
        {
            get;
            set;
        }
        /// <summary>
        /// [归属（自发，资讯，邮票等）目前为[1/正常，2/新闻，3/交易所行情]
        /// </summary>
        public int Come
        {
            get;
            set;
        }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime
        {
            get;
            set;
        }
        /// <summary>
        /// 赞
        /// </summary>
        public int Goods
        {
            get;
            set;
        }
        /// <summary>
        /// 查看量
        /// </summary>
        public int Hits
        {
            get;
            set;
        }
        /// <summary>
        /// 分类（贴吧，问答）
        /// </summary>
        public int Type
        {
            get;
            set;
        }
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsDel
        {
            get;
            set;
        }
        /// <summary>
        /// 推荐
        /// </summary>
        public bool Commend
        {
            get;
            set;
        }
        /// <summary>
        /// comme为2时，则是新闻ID，为3时则为交易所
        /// </summary>
        public string CenterID
        {
            get;
            set;
        }
        /// <summary>
        /// comme为3时则为交易所
        /// </summary>
        public string Code
        {
            get;
            set;
        }
        /// <summary>
        /// 图片
        /// </summary>
        public string Img
        {
            get;
            set;
        }
        /// <summary>
        /// 引用路径
        /// </summary>
        public string Url
        {
            get;
            set;
        }


        /// <summary>
        /// 是否直播
        /// </summary>
        public bool IsTv
        {
            get;
            set;
        }

        /// <summary>
        /// 转发量
        /// </summary>
        public int TranTotal
        { get; set; }

        /// <summary>
        /// 回复量
        /// </summary>
        public int ReTotal
        { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime UpdateTime
        { get; set; }

        /// <summary>
        /// 直播关闭时间
        /// </summary>
        public DateTime ExpTime { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }

        ///// <summary>
        ///// 是否收藏
        ///// </summary>
        //public int CollectID
        //{
        //    get;
        //    set;
        //}

        ///// <summary>
        ///// 上一次登录的IP
        ///// </summary>
        //public string OnlogIP
        //{
        //    get;
        //    set;
        //}

        ///// <summary>
        ///// 头像
        ///// </summary>
        //public string Portrait
        //{
        //    get;
        //    set;
        //}
        ///// <summary>
        ///// 昵称
        ///// </summary>
        //public string Name
        //{
        //    get;
        //    set;
        //}

        ///// <summary>
        ///// 评论量
        ///// </summary>
        //public int Discuss
        //{
        //    get;
        //    set;
        //}

        ///// <summary>
        /////点赞
        ///// </summary>
        //public int OptInID
        //{
        //    get;
        //    set;
        //}
        ///// <summary>
        ///// 是否转发
        ///// </summary>
        //public int IfTran
        //{ get; set; }

        ///// <summary>
        ///// 引用ID
        ///// </summary>
        //public int REID
        //{
        //    get;
        //    set;
        //}

        ///// <summary>
        ///// 引用类型
        ///// </summary>
        //public int RECate
        //{ get; set; }

        ///// <summary>
        ///// 引用标题或昵称
        ///// </summary>
        //public string RETitle
        //{ get; set; }

        ///// <summary>
        ///// 引用内容
        ///// </summary>
        //public string RESmallTitle
        //{ get; set; }

        ///// <summary>
        ///// 引用时间
        ///// </summary>
        //public DateTime RECreateTime
        //{ get; set; }

        ///// <summary>
        ///// 引用路径
        ///// </summary>
        //public string REUrl
        //{ get; set; }

        ///// <summary>
        ///// 引用点击
        ///// </summary>
        //public int ReHits
        //{ get; set; }

        ///// <summary>
        ///// 引用回复总数
        ///// </summary>
        //public int ReTotal
        //{ get; set; }

        ///// <summary>
        ///// 引用转发总数
        ///// </summary>
        //public int TranTotal
        //{ get; set; }

        ///// <summary>
        ///// 收藏ID
        ///// </summary>
        //public int CollID
        //{ get; set; }

        ///// <summary>
        ///// 积分
        ///// </summary>
        //public int Score
        //{
        //    get;
        //    set;
        //}

        ///// <summary>
        ///// 分类
        ///// </summary>
        //public int CateID
        //{
        //    get;
        //    set;
        //}

        ///// <summary>
        ///// 是否开放直播室
        ///// </summary>
        //public int IsOpen
        //{ get; set; }

        ///// <summary>
        ///// 自定义排序
        ///// </summary>
        //public int RowNumber
        //{ get; set; }


    }
}
